home *** CD-ROM | disk | FTP | other *** search
- global gFlagSprite, gUserLevel
-
- on exitFrame
- set gFlagSprite to 25
- setProp(gFlagSprite, gFlagSprite + 2, "puppet", 1)
- set the castNum of sprite gFlagSprite to the number of cast ("Flag3, " & gUserLevel = 3)
- set the castNum of sprite (gFlagSprite + 1) to the number of cast ("Flag2, " & gUserLevel = 2)
- set the castNum of sprite (gFlagSprite + 2) to the number of cast ("Flag1, " & gUserLevel = 1)
- updateStage()
- end
-